package itheima.swagger.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "学员实体类",description = "学员的实体类啊")
public class Student {


    @ApiModelProperty(value = "学员的编号")
    private String stuNo;


    @ApiModelProperty(value = "学员的名称")
    private String name;

    @ApiModelProperty(value = "学员的年龄")
    private int age;


    @ApiModelProperty(value = "学员的地址")
    private String address;

    //getter/setter 省略

}
